package com.dailyblue.java.project.shoppingcart.feign;

import com.dailyblue.java.project.shoppingcart.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "user")
public interface UsersFeign {
    @GetMapping("/user/userid/{token}")
    JsonResult getUserId(@PathVariable("token") String token);
}
